package com.attendance.www.hr.service;

import com.attendance.www.hr.beans.ApprovalRuleBean;
import com.attendance.www.hr.beans.ApprovalRulePageBean;

public interface IApprovalRuleService {
	
	/**
	 * 分页查询
	 * @param approvalRuleBean
	 * @param startNum
	 * @param pageCount
	 * @return
	 */
	public ApprovalRulePageBean getApprovalRulePageList(ApprovalRuleBean approvalRuleBean, Integer startNum, Integer pageCount);
	
	/**
	 * 保存验证
	 * @param approvalRuleBean
	 * @return
	 */
	public boolean saveApprovalRuleValidate(ApprovalRuleBean approvalRuleBean);
	
	/**
	 * 保存验证
	 * @param approvalRuleBean
	 * @return
	 */
	public boolean updateApprovalRuleValidate(ApprovalRuleBean approvalRuleBean);
	
	/**
	 * 添加
	 * @param ApprovalRuleBean
	 */
	public boolean saveApprovalRule(ApprovalRuleBean approvalRuleBean);
	
	/**
	 * 修改
	 * @param ApprovalRuleBean
	 */
	public boolean updateApprovalRule(ApprovalRuleBean approvalRuleBean);
	
	/**
	 * 删除
	 * @return
	 */
	public boolean deleteApprovalRule(Integer approvalRuleId);
}
